package com.asap.demo.utils;


import java.util.HashMap;
import java.util.Map;

/**
 * @author E-mail:zhangcf@asiainfo.com
 * @version Create time：2015年4月9日 下午1:37:31 类说明 暂时为空,以留以后扩展:
 * 主程序需要传递信息给插件就通过:PluginContext.
 */
public class PluginContext {

    /**
     * 解析类型: 存放sourceType采用何种解析扩展类.(这个对应关系由前台配置而来)
     */
    private Map<String, String> parserType = new HashMap<String, String>();

    private String configPath ;

    // Main dataprocess processName
    private String processName = "";

    private boolean isException;

    private boolean exceptionExit;



    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public String getConfigPath() {
        return configPath;
    }

    public void setConfigPath(String configPath) {
        this.configPath = configPath;
    }

    public Map<String, String> getParserType() {
        return parserType;
    }

    public void setParserType(Map<String, String> parserType) {
        this.parserType = parserType;
    }

    public boolean isException() {
        return isException;
    }

    public void setException(boolean isException) {
        this.isException = isException;
    }

    public boolean isExceptionExit() {
        return exceptionExit;
    }

    public void setExceptionExit(boolean exceptionExit) {
        this.exceptionExit = exceptionExit;
    }

}
